#ifndef INBOX_H_
#define INBOX_H_
#include "../common/Thread.h"
//#include "../common/Connection.h"
#include "../common/Socket.h"


class GestorDeCliente;

class Inbox : public Thread {  
private:
	//Connection *connection;
	Socket *socket;
	GestorDeCliente *gestor;
	bool estado;
public:
	//Inbox(GestorDeCliente *gestor,Connection *connection);
	Inbox(GestorDeCliente *gestor, Socket *socket);
	virtual ~Inbox();
	
	void ejecutar();
	void Start();
	void Stop();

};

#endif
